<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE HTML>
<html>
<head>
	<title>telier大学</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<link href="/themes/xuexiao/Public/assets/css/bootstrap.css" rel='stylesheet' type='text/css' />

	<link href="/themes/xuexiao/Public/assets/css/style.css" rel='stylesheet' type='text/css' />
	<link href="/themes/xuexiao/Public/assets/css/swiper.min.css" rel='stylesheet' type='text/css' />
	<link rel="stylesheet" type="text/css" href="/themes/xuexiao/Public/assets/css/kefu.css" />
	

	<script src="/themes/xuexiao/Public/assets/js/jquery-1.9.1.min.js"></script>
	<!---strat-slider---->
	<link rel="stylesheet" type="text/css" href="/themes/xuexiao/Public/assets/css/slider.css" />
	<script type="text/javascript" src="/themes/xuexiao/Public/assets/js/modernizr.custom.28468.js"></script>
	<script type="text/javascript" src="/themes/xuexiao/Public/assets/js/jquery.cslider.js"></script>
				<script type="text/javascript">
					$(function() {
					
						$('#da-slider').cslider({
							autoplay	: true,
							bgincrement	: 450
						});
					
					});
				</script>
			<!---//end-slider---->
	<script type="text/javascript" src="/themes/xuexiao/Public/assets/js/jquery.openCarousel.js"></script> 	
	<script src="/themes/xuexiao/Public/assets/js/easyResponsiveTabs.js" type="text/javascript"></script>
	<script src="/themes/xuexiao/Public/assets/js/hover_pack.js"></script>
	<script type="text/javascript">
	    $(document).ready(function () {
	        $('#horizontalTab').easyResponsiveTabs({
	            type: 'default', //Types: default, vertical, accordion           
	            width: 'auto', //auto or any width like 600px
	            fit: true   // 100% fit in a container
	        });
	    });
	</script>
	
	<style>
		.swiper-container {
    height: 460px;
}  
	</style>
</head>
<body>
	<!DOCTYPE HTML>
<html>
<head>
	<title>telier大学</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<link href="/themes/xuexiao/Public/assets/css/bootstrap.css" rel='stylesheet' type='text/css' />
	<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
                        
	<link href="/themes/xuexiao/Public/assets/css/style.css" rel='stylesheet' type='text/css' />
	
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>

	<script src="js/jquery-1.9.1.min.js"></script>
	<!---strat-slider---->
	<link rel="stylesheet" type="text/css" href="/themes/xuexiao/Public/assets/css/slider.css" />
	<script type="text/javascript" src="js/modernizr.custom.28468.js"></script>
	<script type="text/javascript" src="js/jquery.cslider.js"></script>
				<script type="text/javascript">
					$(function() {
					
						$('#da-slider').cslider({
							autoplay	: true,
							bgincrement	: 450
						});
					
					});
				</script>
			<!---//end-slider---->
	<script type="text/javascript" src="js/jquery.openCarousel.js"></script> 	
	<script src="js/easyResponsiveTabs.js" type="text/javascript"></script>
	<script type="text/javascript">
	    $(document).ready(function () {
	        $('#horizontalTab').easyResponsiveTabs({
	            type: 'default', //Types: default, vertical, accordion           
	            width: 'auto', //auto or any width like 600px
	            fit: true   // 100% fit in a container
	        });
	    });
	</script>	
</head>
<body>
<?php $menu_root_ul_id="nav"; $filetpl="<a href='\$href' target='\$target'>\$label</a>"; $foldertpl="<a class='dropdown-toggle' href='\$href' target='\$target'>\$label</a>"; $ul_class="nav" ; $li_class="" ; $menu_root_ul_class="nav"; $showlevel=6; $dropdown='list'; ?>
<?php $portal_index_lastnews="1,2"; $portal_hot_articles="1,2"; $xinwenzixun = 1; $zuixingonggao = 2; $luqu = 3; $tmpl=sp_get_theme_path(); $default_home_slides=array( array( "slide_name"=>"ThinkCMFX2.2.0发布啦！", "slide_pic"=>$tmpl."Public/assets/images/banner.jpg", "slide_url"=>"", ), ); ?>
<style>
	.logo{
		width: 180px;
		height: 100px;
		
		float: left;
	}
	.logo img{
		margin-top: 16px;
		margin-left: 20px;
	}

</style>
<div class="top-header">
	  <div class="container">
		<p class="m_1">联系电话：010-57461128<span class="m_2">&nbsp;&nbsp;特里尔大学期待您的加入</span></p>
		<div class="clear"> </div>
	  </div>
</div>
	<div class="logo">
		<img src="/themes/xuexiao/Public/assets/images/logo11.png" alt="" width="180px">
	</div>

	<?php echo sp_get_menu("main",$menu_root_ul_id,$filetpl,$foldertpl,$ul_class,$li_class,$menu_root_ul_class,$showlevel,$dropdown);?>
	<!-- <div class="search">
			  <input type="text" value="Enter a keyword" style="width:200px;float:left;">
			  <input type="submit" value="">
			</div> -->
					<script type="text/javascript" src="/themes/xuexiao/Public/assets/js/nav.js"></script>
			</div><!-- end h_menu4 -->
		    </div>
		</div>
		<div class="slider">
	        <div class="swiper-container">
	        
			</div>
			
	 	</div>

	</div>
	<div class="main">
		<div class="content-top">
		    <div class="container">
			    <div class="row content_grid1">
				  <div class="col-md-4 popular_topics">
					<ul class="topic_grid">
					   <li class="list1">
					   		<i class="speech"> </i><h3 class="m_3"><span class="m_4">新闻资讯</span></h3><div class="clear5"></div>
					   </li>
					   	<?php $lastnews=sp_sql_posts("cid:$xinwenzixun;field:term_id,post_title,post_date,post_excerpt,tid,posts.id as pid,smeta;order:post_date desc;limit:4;"); ?>
						<?php if(is_array($lastnews)): foreach($lastnews as $key=>$vo): ?><li class="list3"><a href="<?php echo leuu('article/index',array('id'=>$vo['pid'],'cid'=>$vo['term_id']));?>"><?php echo msubstr($vo['post_title'],0,10);?></a>
							  <p class="list_desc"><?php echo msubstr($vo['post_excerpt'],0,25);?></p>
				           </li><?php endforeach; endif; ?>
					</ul>
				  </div>
				   <div class="col-md-4 popular_topics1">
					   	<ul class="topic_grid">
						   <li class="list1">
						   		<i class="book"> </i><h3 class="m_3"><span class="m_4">最新公告</span></h3><div class="clear5"></div>
						   </li>
						</ul>
						<div class="menu_vertical">
			         	 	<section class="accordation_menu">
						<?php $lastnews=sp_sql_posts("cid:$zuixingonggao;field:post_title,post_date,post_excerpt,tid,smeta;order:post_date desc;limit:4;"); ?>
						<?php if(is_array($lastnews)): foreach($lastnews as $key=>$vo): ?><div>
								    <input id="label-<?php echo ($key+1); ?>" name="lida" type="radio"/>
								    <label for="label-<?php echo ($key+1); ?>" id="item<?php echo ($key+1); ?>">
										<i class="icon-leaf" id="i"></i>
											<?php echo msubstr($vo['post_title'],0,10);?>
										<i class="icon-plus-sign i-right1"></i>
									</label>
								    <div class="content" id="a2">
								       <ul class="news_list">
						  			     <li class="date">
											<?php echo date('d',strtotime($vo['post_date']));?><br><span class="highlight"><?php echo date('M',strtotime($vo['post_date']));?></span><br><span class="light_color"><?php echo date('Y',strtotime($vo['post_date']));?></span>
										 </li>
										 <li class="date_desc">
						  			   	 	<p><?php echo msubstr($vo['post_excerpt'],0,10);?></p>
						  			   	 </li>
						  			   	 <div class="clear"> </div>
						  			  </ul>      
								    </div>
								</div><?php endforeach; endif; ?>
							</section>
						</div>
				   </div>
					<div class="col-md-4">
						<ul class="topic_grid">
							<li class="list1">
								<i class="megaphone"> </i><h3 class="m_3"><span class="m_4">精彩视频</span></h3><div class="clear5"></div>
							</li>
						 </ul>
						 <div>
							<video class="video-js" width="345" autoplay="autoplay" loop="loop">
								<source src=".//themes/xuexiao/Public/assets/images/video.mp4" type="video/mp4" ></source>
							</video>
						 </div>
							
					</div>
				</div>
			</div>
			</div>
			<div class="content_middle">
				<div class="container">
					<div class="content_middle_desc">
						<h3><span class="m_8">想更多的了解我们吗</span></h3>
						<p>请在下方输入您想知道的内容，了解更多大学信息</p>
					<form method="post" class="form-inline" action="<?php echo U('portal/search/index');?>">
					<div class="content_search"><span class="left_line1"> </span> <input type="text" name="keyword" value="<?php echo I('get.keyword');?>">
					 <input type="submit" value="戳我搜索"><span class="right_line1"> </span></div>
					</form>
					</div>
				</div>
			</div>
			<?php $lastnews=sp_sql_posts("cid:1;field:post_title,post_excerpt,object_id,smeta,term_id;order:listorder asc;limit:4;"); ?>
			<div class="content_middle-bottom">
			  <div class="container">
				 <div class="row">
				 	<?php $lastnews=sp_sql_posts("cid:$luqu;field:term_id,post_title,post_date,object_id,post_excerpt,tid,posts.id as pid,smeta;
order:post_date desc;limit:4;"); ?>
					<?php if(is_array($lastnews)): foreach($lastnews as $key=>$vo): $smeta=json_decode($vo['smeta'],true); ?>
						<div class="col-md-3 bottom_grid1">
						  <a href="<?php echo leuu('article/index',array('id'=>$vo['object_id'],'cid'=>$vo['term_id']));?>" class="b-link-diagonal b-animate-go  thickbox">
							<img src="<?php echo sp_get_asset_upload_path($smeta['thumb']);?>" class="img-responsive" alt="" style="width:240px;height: 200px" />
						  </if>
						  <div class="b-wrapper" style="height: 220px;">
						  	<h2 class="b-animate b-from-left    b-delay03 "><img src="/themes/xuexiao/Public/assets/images/hover_search.png" alt=""/></h2>
						  	<p class="b-animate b-from-right    b-delay03 "> </p>
						  	</div></a>
					        <div class="grid_desc">
					        	<h4><a href="<?php echo leuu('article/index',array('id'=>$vo['object_id'],'cid'=>$vo['term_id']));?>"><?php echo msubstr($vo['post_title'],0,20);?></a></h4>
					        	<p><?php echo msubstr($vo['post_excerpt'],0,20);?></p>
					        </div>
						</div><?php endforeach; endif; ?>
			    </div>
			  </div>
			</div>
		</div>
		<div class="footer">
	    	<div class="container">
	   	  <div class="row">
	   		<div class="col-md-4">
	   		   <ul class="footer_list">
	   			 <li><i class="phone"> </i><p class="ph-no">010-57461128</p> <div class="clear"></div></li>
	   			 <li><i class="pin"> </i><p class="ph-no">北京东城区崇文门</p> <div class="clear"></div></li>
	   			 <li><i class="msg"> </i><p class="address">admin@telier.com</p> <div class="clear"></div></li>
	   		   </ul>
	   		</div>
	   	    <div class="col-md-8">
	   			<ul class="footer_list1">
					<h4 class="m_7">关于博雅</h4>
					<li><a href="/index.php?g=portal&m=page&a=index&id=15">特里尔简介</a></li>
					<li><a href="/index.php?m=list&a=index&id=1">特里尔动态</a></li>
					<li><a href="#">联系我们</a></li>
				</ul>
				<!-- <ul class="footer_list1">
					<h4 class="m_7">大学录取</h4>
					<li><a href="#">XXXX案例</a></li>
					<li><a href="#">XXXX案例</a></li>
					<li><a href="#">XXXX案例</a></li>
					<li><a href="#">XXXX案例</a></li>
				</ul> -->
				<ul class="footer_list1">
					<h4 class="m_7">我们的项目</h4>
					<li><a href="/index.php?g=portal&m=page&a=index&id=16">项目流程</a></li>
					<li><a href="/index.php?g=portal&m=page&a=index&id=17">项目优势</a></li>
					<li><a href="/index.php?g=portal&m=page&a=index&id=18">留德优势</a></li>
					<li><a href="/index.php?g=portal&m=page&a=index&id=19">专业推荐</a></li>
				</ul>
				<?php $links=sp_getlinks(); ?>
				<ul class="footer_list1">
					<h4 class="m_7">合作伙伴</h4>
					<?php if(is_array($links)): foreach($links as $key=>$vo): ?><li><a href="<?php echo ($vo["link_url"]); ?>" target="<?php echo ($vo["link_target"]); ?>"><?php echo ($vo["link_name"]); ?></a></li><?php endforeach; endif; ?>
				</ul>
				<ul class="footer_list1" style="padding-left:10px;">
					<img src="/themes/xuexiao/Public/assets/images/weixin.jpg" alt="" width="130">
				</ul>
				 <div class="clear"></div>
	   		</div>
	   	  </div>
	   	</div>
	</div>
	<div class="footer_bottom">
		  	<div class="container">
		  		<ul class="footer_bottom-list">
				  <li><a href="#"></a></li>
				  <li><a href="#"></a></li>
				  <li><a href="#"></a></li>
				</ul>
			    <div class="copy">
		          <p><?php echo ($site_copyright); echo ($site_icp); ?>  <?php echo ($site_tongji); ?></p>
		        </div>
			    <div class="clear"> </div>
		  	</div>
	</div>
	  	<div class="side">
	<ul>
		<li><a href="/index.php?g=portal&m=page&a=index&id=15"><div class="sidebox"><img src="/themes/xuexiao/Public/assets/images/side_icon01.png">关于我们</div></a></li>
		<li><a href="http://telier.com/index.php?m=list&a=index&id=3" target="_blank" ><div class="sidebox"><img src="/themes/xuexiao/Public/assets/images/side_icon02.png">录取案例</div></a></li>
		<li><a href="tencent://message/?uin=84033795&Site=sc.chinaz.com&Menu=yes" ><div class="sidebox"><img src="/themes/xuexiao/Public/assets/images/side_icon04.png">QQ客服</div></a></li>
		<li><a href="http://weibo.com/u/5734676181" target="_blank" ><div class="sidebox"><img src="/themes/xuexiao/Public/assets/images/side_icon03.png">新浪微博</div></a></li>
		<li style="border:none;"><a href="javascript:goTop();" class="sidetop"><img src="/themes/xuexiao/Public/assets/images/side_icon05.png"></a></li>
	</ul>
</div>
<script type="text/javascript">
$(document).ready(function(){

	$(".side ul li").hover(function(){
		$(this).find(".sidebox").stop().animate({"width":"124px"},200).css({"opacity":"1","filter":"Alpha(opacity=100)","background":"#ae1c1c"})	
	},function(){
		$(this).find(".sidebox").stop().animate({"width":"54px"},200).css({"opacity":"0.8","filter":"Alpha(opacity=80)","background":"#000"})	
	});
	
});

//回到顶部
function goTop(){
	$('html,body').animate({'scrollTop':0},600);
}
</script>
<script src=".//themes/xuexiao/Public/assets/js/swiper.min.js"></script>
<script type="text/javascript">
  var mySwiper = new Swiper('.swiper-container',{
    loop: true,
	autoplay: 3000,
  });
</script>
</body>
</html>